package com.jumi.microservice.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jumi.microservice.domain.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

@TableName("auth_article_class")
@ApiModel(value="ArticleClass对象", description="文章分类表")
public class ArticleClass extends BaseEntity {
    @TableId(type = IdType.AUTO)
    private Long acid;
    @ApiModelProperty(value = "分类名称")
    private String acName;
    @ApiModelProperty(value = "父ID")
    private Long acParentId;
    @ApiModelProperty(value = "父级名称")
    @TableField(exist = false)
    private String acParentName;
    @ApiModelProperty(value = "排序")
    private Integer acSort;
    @ApiModelProperty(value = "添加人")
    private String creater;
    @ApiModelProperty(value = "添加时间")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "修改人")
    private String modifier;
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;
    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    private Integer IsDel;
    @ApiModelProperty(value = "状态，1启用，0.禁用")
    private Integer status;

    public String getAcParentName() {
        return acParentName;
    }

    public void setAcParentName(String acParentName) {
        this.acParentName = acParentName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsDel() {
        return IsDel;
    }

    public void setIsDel(Integer isDel) {
        IsDel = isDel;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Long getAcid() {
        return acid;
    }

    public void setAcid(Long acid) {
        this.acid = acid;
    }

    public String getAcName() {
        return acName;
    }

    public void setAcName(String acName) {
        this.acName = acName;
    }

    public Long getAcParentId() {
        return acParentId;
    }

    public void setAcParentId(Long acParentId) {
        this.acParentId = acParentId;
    }

    public Integer getAcSort() {
        return acSort;
    }

    public void setAcSort(Integer acSort) {
        this.acSort = acSort;
    }
}
